﻿@using WD.Web.MVC.Common
@{
  
    var user = StaticData.CurrentUser;
}
<div class="header_toolbar">
    <div class="w">
        <div class="fl">
            <a href="/Home/Index">首页</a>|<a onclick="toLogin();">收藏本站</a>|<a href="/Home/Login">商家登录</a>
        </div>

        <div class="fr">
            @if (user != null)
            {
                <span>@(user.Name + "  ")您好，欢迎来到采霖源消费服务网！</span><a href="/Home/Center">[个人中心]</a><span>|</span><a href="/Home/Logout">[退出]</a>
            }
            else
            {
                <span>您好，欢迎来到采霖源消费服务网 请先</span> <a href="/Home/Register">[注册]</a><span>|</span><a href="/Home/Login">[登录]</a>
            }


        </div>

    </div>
</div>
